#include <iostream>
#include <opencv2/highgui/highgui.hpp>

using namespace cv;
using namespace std;

int main()
{
    Mat img = imread("../../resource/image/lenna-head.jpg", -1);
    if (img.empty())
    {
        cout << "Error" << endl;
        return -1;
    }
    else
    {
        cout << "Success" << endl;
    }
    namedWindow("Example1", WINDOW_AUTOSIZE);
    imshow("Example1", img);
    waitKey(0);

    destroyAllWindows();
}
